package com.park.service.impl.moments;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.park.client.model.moments.MomentsCommentModel;
import com.park.client.service.moments.MomentsCommentService;
import com.park.dao.moments.MomentsCommentMapper;
import com.park.service.impl.base.BaseServiceImpl;

@Service("momentsCommentService")
public class MomentsCommentServiceImpl extends BaseServiceImpl<MomentsCommentModel> implements MomentsCommentService{
	@Autowired
	private  MomentsCommentMapper  momentsCommentMapper;
	
	@Override
	public boolean deleteByPrimaryKey(Long id) {
		return false;
	}

	@Override
	public boolean insert(MomentsCommentModel record) {
		return momentsCommentMapper.insert(record)==1;
	}

	@Override
	public boolean insertSelective(MomentsCommentModel record) {
		return momentsCommentMapper.insertSelective(record)==1;
	}

	@Override
	public MomentsCommentModel selectByPrimaryKey(Long id) {
		return null;
	}

	@Override
	public boolean updateByPrimaryKeySelective(MomentsCommentModel record) {
		return false;
	}

	@Override
	public boolean updateByPrimaryKeyWithBLOBs(MomentsCommentModel record) {
		return false;
	}

	@Override
	public boolean updateByPrimaryKey(MomentsCommentModel record) {
		return false;
	}

	@Override
	public List<MomentsCommentModel> selectAll() {
		return momentsCommentMapper.selectAll();
	}


	@Override
	public MomentsCommentModel selectIsExists(MomentsCommentModel momentsComment) {
		return momentsCommentMapper.selectIsExists( momentsComment);
	}

	@Override
	public List<MomentsCommentModel> selectPagination(MomentsCommentModel t) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Integer selectTotal(MomentsCommentModel t) {
		// TODO Auto-generated method stub
		return null;
	}


}
